﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Magicodes.WeChat.Application.QRCode.Dto
{
    public class CreateQRCodeInput
    {
        [MaxLength(10)]
        [JsonProperty("K")]
        public string Key { get; set; }

        [Required]
        [MaxLength(64)]
        [JsonProperty("V")]
        public string Value { get; set; }

        [JsonIgnore]
        public int? ExpireSeconds { get; set; }
    }
}
